package com.ridu.project.beshid.api;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;

/**
 * Created by asus on 7/22/2017.
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User {
    private Long id;
    private String username;
    private String password;
    private String salt = "";
    private Boolean locked = Boolean.FALSE;
    private String roles;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dateCreated;
    private String platform;
    private String jifen;
    private String rate;
    private String transactionHash;
}
